import 'package:bili_caricature/base/base_state.dart';

import '../../bloc/model/cartoon_model_entity.dart';
import '../../bloc/model/cartoon_recommend_entity.dart';
import '../../bloc/model/cartoon_series_entity.dart';

class BiliMineState extends BaseState {
  CartoonModelData? mainModel;
  List<CartoonRecommendDataInfos>? recommendList;
  List<CartoonSeriesDataSeriesComics>? seriesList;
  double appBarAlpha = 0;
  double offset = 0;

  /// 是否刷新主页面
  bool isRefreshMainView = false;

  BiliMineState clone() {
    return BiliMineState()
      ..netState = netState
      ..mainModel = mainModel
      ..recommendList = recommendList
      ..seriesList = seriesList
      ..appBarAlpha = appBarAlpha
      ..offset = offset
      ..isRefreshMainView = isRefreshMainView;
  }
}
